6547fc
@@ -70,6 +70,11 @@
public class ApiComponentGeneratorMojo extends AbstractApiMethodBaseMojo {
         setSharedProjectState(true);
 
         try {
+            // fix apiName for single API use-case since Maven configurator sets empty parameters as null!!!
+            if (apis.length == 1 && apis[0].getApiName() == null) {
+                apis[0].setApiName("");
+            }
+
             // generate API methods for each API proxy
             for (ApiProxy api : apis) {
                 // validate API configuration
